package com.vhall.component.entity.chat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 快捷回复表
 * </p>
 *
 * @author xing.wang
 * @since 2022-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("quick_replies")
public class QuickRepliesEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonProperty("id")
    private Integer id;

    /**
     * 回复内容
     */
    @JsonProperty("content")
    @TableField("content")
    private String content;

    /**
     * 创建者id
     */
    @JsonProperty("account_id")
    @TableField("account_id")
    private Integer accountId;

    /**
     * 0 禁止  1 启用
     */
    @TableField("status")
    @JsonProperty("status")
    private Integer status;

    /**
     * 1 公共   2  自定义
     */
    @JsonProperty("type")
    @TableField("type")
    private Integer type;

    /**
     * 更新时间
     */
    @JsonProperty("updated_at")
    @TableField("updated_at")
    private LocalDateTime updatedAt;

    /**
     * 创建时间
     */
    @JsonProperty("created_at")
    @TableField("created_at")
    private LocalDateTime createdAt;

    /**
     * 删除时间
     */
    @JsonProperty("deleted_at")
    @TableField("deleted_at")
    private LocalDateTime deletedAt;


}
